const { Switch } = require("../lib/types");

module.exports = {
    name: "ngx_http_hls_module",
    map: {
        hls: [String, , "location"],
        hls_buffers: [String, "8 2m", ["http", "server", "location"]],
        hls_forward_args: [Switch, false, ["http", "server", "location"]],
        hls_fragment: [String, "5s", ["http", "server", "location"]],
        hls_mp4_buffer_size: [String, "512k", ["http", "server", "location"]],
        hls_mp4_max_buffer_size: [String, "10m", ["http", "server", "location"]]
    }
}